package com.jhs.kjs.service.impl;

import java.util.List;
import java.util.Map;

import com.jhs.kjs.dto.BaggageDTO;
import com.jhs.kjs.dto.CarDTO;
import com.jhs.kjs.dto.CarDetailInfo_CarDTO;
import com.jhs.kjs.dto.CarDeviceDTO;
import com.jhs.kjs.dto.CarDriverDTO;
import com.jhs.kjs.dto.CarPositionDTO;
import com.jhs.kjs.dto.CustomerDTO;
import com.jhs.kjs.dto.DeptDTO;
import com.jhs.kjs.service.ITotalCarService;
import com.jhs.kjs.service.dao.ITotalCarMapper;
public class TotalCarServiceImpl implements ITotalCarService{

	private ITotalCarMapper mapper;

	public void setMapper(ITotalCarMapper mapper) {
		this.mapper = mapper;
	}
	
	public List<CarDetailInfo_CarDTO> getTotalCarList(CarDetailInfo_CarDTO param) {
		return this.mapper.getTotalCarList(param);
	}
	
	public List<DeptDTO> getSearchDept(Map<String, Integer> param) {
		return this.mapper.getSearchDept(param);
	}
	
	public List<CarPositionDTO> getSearchAddr1(Map<String, Integer> param) {
		return this.mapper.getSearchAddr1(param);
	}
	
	public List<CarPositionDTO> getSearchAddr2(CarDetailInfo_CarDTO  param) {
		return this.mapper.getSearchAddr2(param);
	}
	
	public List<CarDTO> getSearchCarType(Map<String, Integer> param) {
		return this.mapper.getSearchCarType(param);
	}
	
	public List<CarDTO> getSearchBaggage(Map<String, Integer> param) {
		return this.mapper.getSearchBaggage(param);
	}
	
	public List<CarDeviceDTO> getSearchDevice(Map<String, Integer> param) {
		return this.mapper.getSearchDevice(param);
	}
	
	public List<CarDriverDTO> getSearchText(Map<String, String> param) {
		return this.mapper.getSearchText(param);
	}
	
	public List<CustomerDTO> getSearchCustomer(Map<String, Integer> param) {
		return this.mapper.getSearchCustomer(param);
	}
} 
